home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d27
/
crtpass.arc
/
CRTPASS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1991-12-04
|
3KB
|
50 lines
CRTPASTHR: CMD PROMPT('Create Passthru Session')
/* Command processing program is CRTPASTHR */
PARM KWD(RMTID) TYPE(*NAME) LEN(08) MIN(1) +
EXPR(*YES) PROMPT('Remote system ID (name)')
PARM KWD(RMTLOC) TYPE(*NAME) LEN(08) DFT(*RMTID) +
SPCVAL((*RMTID)) EXPR(*YES) +
PROMPT('Remote location name')
PARM KWD(LCLLOC) TYPE(*NAME) LEN(08) DFT(*NETATR) +
SPCVAL((*NETATR) (*RMTID) (*SYSNAM)) +
EXPR(*YES) PROMPT('Local location name')
PARM KWD(DEVD) TYPE(*NAME) LEN(10) DFT(*RMTID) +
SPCVAL((*RMTID)) EXPR(*YES) PROMPT('Device +
name')
PARM KWD(CTLD) TYPE(*NAME) DFT(*RMTID) +
SPCVAL((*LCLLOCNAM) (*SYSNAM) (*RMTID)) +
EXPR(*YES) PROMPT('Local control unit name')
PARM KWD(LIND) TYPE(*NAME) DFT(*RMTID) +
SPCVAL((*RMTID)) EXPR(*YES) PROMPT('Line +
description to create')
PARM KWD(RESOURCE) TYPE(*NAME) DFT(LIN011) +
SPCVAL((LIN011) (LIN021)) EXPR(*YES) +
PROMPT('Line resource name')
PARM KWD(LINESPEED) TYPE(*CHAR) LEN(05) RSTD(*YES) +
DFT(2400) VALUES(600 1200 2400 4800 7200 +
9600 14400 19200 48000 56000 57600 64000) +
PROMPT('Line speed')
PARM KWD(AUTODIAL) TYPE(*CHAR) LEN(04) RSTD(*YES) +
DFT(*YES) VALUES(*YES *NO) EXPR(*YES) +
PROMPT('Automatically dial the phone')
PARM KWD(PHONE) TYPE(*CHAR) LEN(22) PROMPT('Phone +
number to dial')
PARM KWD(EXCHID) TYPE(*CHAR) LEN(08) DFT(05600000) +
SPCVAL((*SYSGEN)) FULL(*YES) +
PROMPT('Exchange ID')
PARM KWD(STNADR) TYPE(*CHAR) LEN(02) DFT(01) +
FULL(*YES) PROMPT('Station Address')
PARM KWD(NBRDEV) TYPE(*DEC) LEN(2) RSTD(*YES) +
DFT(*NONE) SPCVAL((*NONE 0) (1) (2) +
(3)) PROMPT('Number of virtual devices')
PARM KWD(VDEVD) TYPE(*NAME) LEN(10) DFT(VDSP) +
SPCVAL((VDSP)) EXPR(*YES) PMTCTL(VRTDEV) +
PROMPT('Virtual device prefix')
PARM KWD(VCTLD) TYPE(*NAME) DFT(*LCLLOCNAM) +
SPCVAL((*LCLLOCNAM) (*SYSNAM)) EXPR(*YES) +
PMTCTL(VRTDEV) PROMPT('Virtual control unit')
DEP CTL(*ALWAYS) PARM((&VCTLD *NE &CTLD))
VRTDEV: PMTCTL CTL(NBRDEV) COND((*GT 0))